package com.example.webfluxdemo.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created by victor on 2021/9/28 15:26.
 */
@Data
@NoArgsConstructor
public abstract class BaseEntity implements Serializable {
    @Id
    private Integer id;
    private Integer status;
    private LocalDateTime createdTime;
    private LocalDateTime lastChangedTime;
}
